// @APIVersion 1.0.0 beta
// @Title 科脉进销存外挂接口
// @Description 科脉进销存直接操作接口
// @Contact bairunshenghuo@163.com
// @TermsOfServiceUrl http://192.168.1.188
// @License Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
package routers

import (
	"git.oschina.net/tinkler/for_kmjxc/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns := beego.NewNamespace("/v1",
		beego.NSNamespace("/user",
			beego.NSInclude(
				&controllers.UserController{},
			),
		),
		beego.NSNamespace("/object",
			beego.NSInclude(
				&controllers.ObjectController{},
			),
		),
		beego.NSNamespace("/info",
			beego.NSInclude(
				&controllers.InfoController{},
			),
		),
		beego.NSNamespace("/supcust",
			beego.NSInclude(
				&controllers.SupcustController{},
			),
		),
		beego.NSNamespace("/payflow",
			beego.NSInclude(
				&controllers.PayflowController{},
			),
		),
		beego.NSNamespace("/fee",
			beego.NSInclude(
				&controllers.FeeController{},
			),
		),
		beego.NSNamespace("/price",
			beego.NSInclude(
				&controllers.PriceController{},
			),
		),
		beego.NSNamespace("/vip",
			beego.NSInclude(
				&controllers.VipController{},
			),
		),
	)
	beego.AddNamespace(ns)
}
